package org.greenwire.islandharvester.domain;



public class Island implements Container {
	
	/**
	 * 用户id
	 */
	private String uid;
	
	private Building[] buildings = new Building[20];

	@Override
	public String getOwnerUid() {
		return getUid();
	}

	@Override
	public Harvestable[] getHarvestables() {
		return getBuildings();
	}

	public Building[] getBuildings() {
		return buildings;
	}

	public void setBuildings(Building[] buildings) {
		this.buildings = buildings;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
}
